package edu.se.jai.lesson04guess2.model.message;

import edu.se.jai.lesson04guess2.model.MessageType;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * WebSocket统一消息格式
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebSocketMessage {
    private MessageType type;
    private Object data;

}
